import type { Base } from "@/api/types";
import { http } from "@/utils/http";

export type Chat = Base & {
  msg?: string;
  from?: string;
  to?: string;
  time?: number;
};

export const gePublicChatRoomMsgList = () => {
  return http.request<Array<Chat>>("get", "/chat/public_chat_room_msg");
};
